import React from 'react'

type Props = {}

const App = (props: Props) => {
  // 10. 正确实现排序效果[2,1,4，3]=>[1,2,3,4]
  const som=[2,1,4,3]
  som.sort((a,b)=>a-b)
  console.log(som);
  
  return (
    <div>App 
      123
    </div>
  )
}

export default App